

Vue.component('m-layout', {
	template: `
<div class="m-layout">
	<svg-list></svg-list>
	<div class="m-header">
		<div class="logo-box">
			<img src="./static/image/logo1.png"/>
			<span>全托管卖家中心</span>
		</div>
		<div class="user-info-box">
			<div class="list">
				<div class="item">
					<div class="icon">
						<svg class="gs-portal-arco-icon gs-portal-arco-icon-notice " width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg" elementtiming="element-timing"><path d="M4.94175 4.78354C5.09416 3.20866 6.41768 2.00704 7.99991 2.00704C9.58215 2.00704 10.9057 3.20866 11.0581 4.78354L11.3995 8.31206C11.4916 9.26356 12.0203 9.95386 12.5869 10.6737H3.41289C3.97949 9.95386 4.5082 9.26356 4.60028 8.31207L4.94175 4.78354ZM7.99991 0.673706C5.73105 0.673706 3.83316 2.39679 3.61462 4.6551L3.27315 8.18363C3.17037 9.24562 2.13849 10.137 1.51588 10.928C1.17165 11.3654 1.48318 12.007 2.03973 12.007H13.9601C14.5167 12.007 14.8282 11.3654 14.484 10.928C13.8613 10.137 12.8295 9.24562 12.7267 8.18363L12.3852 4.65511C12.1667 2.39679 10.2688 0.673706 7.99991 0.673706ZM10.3014 13.6718C10.3365 13.4911 10.184 13.3404 9.99992 13.3404H5.99992C5.81582 13.3404 5.66331 13.4911 5.69847 13.6718C6.12767 15.878 9.87217 15.878 10.3014 13.6718Z" fill-opacity="1" elementtiming="element-timing"></path></svg>
					</div>
					<span>通知</span>
				</div>
				<div class="item">
					<div class="icon">
						<svg width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg" elementtiming="element-timing"><path d="M7.33317 8.05719L7.33317 2.33333C7.33317 2.14924 7.48241 2 7.6665 2H8.33317C8.51727 2 8.6665 2.14924 8.6665 2.33333V8.05719L9.9594 6.7643C10.0896 6.63412 10.3006 6.63412 10.4308 6.7643L10.9022 7.2357C11.0324 7.36588 11.0324 7.57693 10.9022 7.70711L8.47124 10.1381C8.21089 10.3984 7.78878 10.3984 7.52843 10.1381L5.09747 7.70711C4.96729 7.57693 4.96729 7.36588 5.09747 7.2357L5.56887 6.7643C5.69905 6.63412 5.9101 6.63412 6.04028 6.7643L7.33317 8.05719ZM1.6665 12L1.6665 9C1.6665 8.81591 1.81574 8.66667 1.99984 8.66667H2.6665C2.8506 8.66667 2.99984 8.81591 2.99984 9L2.99984 12C2.99984 12.3682 3.29831 12.6667 3.6665 12.6667L12.3332 12.6667C12.7014 12.6667 12.9998 12.3682 12.9998 12V9C12.9998 8.81591 13.1491 8.66667 13.3332 8.66667H13.9998C14.1839 8.66667 14.3332 8.81591 14.3332 9V12C14.3332 13.1046 13.4377 14 12.3332 14L3.6665 14C2.56193 14 1.6665 13.1046 1.6665 12Z" fill-opacity="1" elementtiming="element-timing"></path></svg>
					</div>
					<span>下载</span>
				</div>
				<div class="item">
					<div class="icon">
						<svg class="gs-portal-arco-icon gs-portal-arco-icon-question_circle " width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg" elementtiming="element-timing"><path d="M7.11875 9.35063V7.5968L7.71608 7.5648C8.49475 7.5328 9.00787 7.10843 9.00787 6.45996 9.00787 5.81149 8.56942 5.45729 7.89742 5.45729 7.24675 5.45729 6.72008 5.77596 6.60275 6.49063L5.16675 6.25729C5.34808 4.93463 6.42542 4.16663 8.01475 4.16663 9.51088 4.16663 10.5654 5.05196 10.5654 6.41729 10.5654 7.51596 9.8403 8.30435 8.70808 8.51863V9.35063H7.11875zM6.87341 10.908C6.87341 10.332 7.31075 9.89463 7.89742 9.89463 8.48408 9.89463 8.91075 10.332 8.91075 10.908 8.91075 11.4733 8.48408 11.9106 7.89742 11.9106 7.31075 11.9106 6.87341 11.4733 6.87341 10.908z" fill-opacity="1" elementtiming="element-timing"></path><path d="M0.666748 7.99996C0.666748 3.94987 3.94999 0.666626 8.00008 0.666626C12.0502 0.666626 15.3334 3.94987 15.3334 7.99996C15.3334 12.05 12.0502 15.3333 8.00008 15.3333C3.94999 15.3333 0.666748 12.05 0.666748 7.99996ZM8.00008 14C11.3138 14 14.0001 11.3137 14.0001 7.99996C14.0001 4.68625 11.3138 1.99996 8.00008 1.99996C4.68637 1.99996 2.00008 4.68625 2.00008 7.99996C2.00008 11.3137 4.68637 14 8.00008 14Z" fill-opacity="1" elementtiming="element-timing"></path></svg>
					</div>
					<span>帮助</span>
				</div>
				<div class="item">
					<div class="icon">
						<svg class="gs-portal-arco-icon gs-portal-arco-icon-academy " width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg" elementtiming="element-timing"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.33643 5.16254C0.337359 4.91154 0.47953 4.68246 0.704029 4.57021L7.70403 1.07021C7.89124 0.976598 8.11161 0.976598 8.29882 1.07021L15.2988 4.57021C15.5233 4.68246 15.6655 4.91154 15.6664 5.16254C15.6665 5.17428 15.6662 5.18597 15.6656 5.19761C15.6661 5.20834 15.6664 5.21913 15.6664 5.22998V9.66498C15.6664 10.0322 15.3687 10.33 15.0014 10.33C14.6341 10.33 14.3364 10.0322 14.3364 9.66498V6.24996L13.6664 6.59118L13.6664 11.75C13.6664 12.0019 13.5241 12.2321 13.2988 12.3448L8.29887 14.8448C8.11165 14.9384 7.89129 14.9384 7.70407 14.8448L2.70401 12.3448C2.47872 12.2322 2.3364 12.0019 2.3364 11.75L2.3364 6.59116L0.699635 5.75758C0.475973 5.64367 0.335502 5.41353 0.33643 5.16254ZM8.30322 9.32258L12.3364 7.26853V11.339L8.00146 13.5065L3.6664 11.339L3.6664 7.26851L7.69964 9.32258C7.88924 9.41914 8.11361 9.41914 8.30322 9.32258ZM2.47749 5.17046L8.00143 7.98373L13.5254 5.17046L8.00143 2.40849L2.47749 5.17046Z" fill-opacity="1" elementtiming="element-timing"></path></svg>
					</div>
					<span>学习</span>
				</div>
				<div class="split-line"></div>
				<div class="item">
					<div class="icon">
						<svg class="gs-portal-arco-icon gs-portal-arco-icon-mobile " width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg" font-size="20" elementtiming="element-timing"><path d="M2.66675 2.33335C2.66675 1.41288 3.41294 0.666687 4.33341 0.666687H11.6667C12.5872 0.666687 13.3334 1.41288 13.3334 2.33335V13.6667C13.3334 14.5872 12.5872 15.3334 11.6667 15.3334H4.33341C3.41294 15.3334 2.66675 14.5872 2.66675 13.6667V2.33335ZM4.33341 2.00002C4.14932 2.00002 4.00008 2.14926 4.00008 2.33335V13.6667C4.00008 13.8508 4.14932 14 4.33341 14H11.6667C11.8508 14 12.0001 13.8508 12.0001 13.6667V2.33335C12.0001 2.14926 11.8508 2.00002 11.6667 2.00002H4.33341ZM6.00008 3.33335C6.00008 3.14926 6.14932 3.00002 6.33341 3.00002H9.66675C9.85084 3.00002 10.0001 3.14926 10.0001 3.33335V4.00002C10.0001 4.18412 9.85084 4.33335 9.66675 4.33335H6.33341C6.14932 4.33335 6.00008 4.18412 6.00008 4.00002V3.33335ZM8.00008 13C8.55237 13 9.00008 12.5523 9.00008 12C9.00008 11.4477 8.55237 11 8.00008 11C7.4478 11 7.00008 11.4477 7.00008 12C7.00008 12.5523 7.4478 13 8.00008 13Z" fill-opacity="1" elementtiming="element-timing"></path></svg>
					</div>
					<span>移动端</span>
				</div>
			</div>
			<div class="split-line"></div>
			<div class="user-box">
				<div class="left">1</div>
				<div class="user-name">180****3427</div>
				<i class="el-icon-arrow-down"></i>
			</div>
		</div>
	</div>
	<div class="m-body">
		<div class="m-sidebar">
			<el-menu :default-active="activeMenu" class="m-sidebar-menu" @select="menuSelect">
				<template v-for="(aItem, aIndex) in menuList">
					<el-menu-item v-if="!aItem.children" :index="aItem.path">
						<div class="menu-icon" v-html="aItem.icon"></div>
						<span slot="title">{{aItem.title}}</span>
					</el-menu-item>
					<el-submenu v-else :index="aItem.path || aIndex">
						<template slot="title">
							<div class="menu-icon" v-html="aItem.icon"></div>
							<span>{{aItem.title}}</span>
						</template>
						<el-menu-item v-for="(bItem, bIndex) in aItem.children" :key="aIndex+'_'+bIndex" :index="bItem.path">{{bItem.title}}</el-menu-item>
					</el-submenu>
				</template>
	    </el-menu>
		</div>
		<div class="m-container">
			<slot></slot>
		</div>
	</div>
</div>
`,
	data() {
		return {
			activeMenu: this.getActiveMenu(),
			menuList: [
				{ title: '首页', path: './首页.html', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-home_selected " width="1em" height="1em" viewBox="0 0 17 17" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.54913 5.48011C2.27442 5.66615 2.10986 5.97633 2.10986 6.30811L2.10986 13.6801C2.10986 14.2324 2.55757 14.6801 3.10985 14.6801L6.84394 14.6801L6.84394 11.6583C6.84394 11.1061 7.29165 10.6584 7.84393 10.6584H10.1477C10.7 10.6584 11.1477 11.1061 11.1477 11.6583V14.6801L14.8819 14.6801C15.4341 14.6801 15.8819 14.2324 15.8819 13.6801V6.30811C15.8819 5.97633 15.7173 5.66615 15.4426 5.48011L9.55658 1.49408C9.21794 1.26475 8.77378 1.26475 8.43514 1.49408L2.54913 5.48011Z" fill-opacity="1"></path></svg>' },
				{ title: '常用', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-activity_plan " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 13.6667C11.1296 13.6667 13.6667 11.1296 13.6667 8C13.6667 4.87039 11.1296 2.33333 8 2.33333C4.87039 2.33333 2.33333 4.87039 2.33333 8C2.33333 11.1296 4.87039 13.6667 8 13.6667ZM8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z" fill="#000"></path><path d="M7.65528 4.69848C7.79629 4.41276 8.20371 4.41276 8.34472 4.69848L9.08613 6.20074C9.14212 6.31419 9.25036 6.39283 9.37557 6.41103L11.0334 6.65193C11.3487 6.69774 11.4746 7.08522 11.2465 7.30762L10.0468 8.47697C9.95623 8.56528 9.91489 8.69252 9.93628 8.81722L10.2195 10.4684C10.2733 10.7824 9.94372 11.0219 9.6617 10.8736L8.17888 10.094C8.06689 10.0352 7.9331 10.0352 7.82112 10.094L6.3383 10.8736C6.05628 11.0219 5.72667 10.7824 5.78053 10.4684L6.06372 8.81722C6.08511 8.69252 6.04377 8.56528 5.95317 8.47697L4.75354 7.30762C4.52538 7.08522 4.65128 6.69774 4.96659 6.65193L6.62443 6.41103C6.74964 6.39283 6.85788 6.31419 6.91387 6.20074L7.65528 4.69848Z" fill="#009995"></path></svg>' },
				{
					title: '商品管理', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-products_unselected " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.41155 1.82538C3.54928 1.82538 2.82931 2.48294 2.75133 3.34168L1.93275 12.3569C1.84411 13.3331 2.61276 14.1747 3.59296 14.1747H12.411C13.3912 14.1747 14.1599 13.3331 14.0712 12.3569L13.2526 3.34168C13.1747 2.48294 12.4547 1.82538 11.5924 1.82538H4.41155ZM4.07951 3.46227C4.0951 3.29053 4.23909 3.15901 4.41155 3.15901H11.5924C11.7649 3.15901 11.9089 3.29053 11.9245 3.46227L12.7431 12.4775C12.7608 12.6727 12.6071 12.841 12.411 12.841H3.59296C3.39692 12.841 3.24319 12.6727 3.26092 12.4775L4.07951 3.46227Z" fill="#000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8.05217 7.33466C7.17485 7.33466 6.44463 6.70495 6.28907 5.87295C6.25524 5.692 6.10924 5.54139 5.92514 5.54139H5.25817C5.07407 5.54139 4.92297 5.69113 4.94234 5.8742C5.10853 7.4445 6.43744 8.66798 8.05217 8.66798C9.6669 8.66798 10.9958 7.4445 11.162 5.8742C11.1814 5.69113 11.0303 5.54139 10.8462 5.54139H10.1792C9.9951 5.54139 9.8491 5.692 9.81527 5.87295C9.65971 6.70495 8.92949 7.33466 8.05217 7.33466Z" fill="#009995"></path></svg>', children: [
						{ title: '上新流程跟进' },
						{ title: '组套商品' },
						{ title: '商机中心' },
						{ title: '商品异常管理' },
						{ title: '摄影图管理' },
						{ title: '商品图管理', path: './商品管理-商品图管理.html' },
						{ title: '视频管理' },
						{ title: '货品管理' },
						{ title: '新增规格跟进' },
						{ title: '尺寸库' },
						{ title: '企划管理' },
						{ title: '调价管理', path: './商品管理-调价管理.html' },
						{ title: '商品评价' },
						{ title: '样衣申请' },
					]
				},
				{
					title: '计划管理', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-order_unselect " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.15358 0.837097C5.60131 0.837097 5.1536 1.28481 5.1536 1.83709V1.91817H3.59241C2.67196 1.91817 1.92578 2.66436 1.92578 3.58482V13.4964C1.92578 14.4169 2.67196 15.163 3.59242 15.163H12.4081C13.3286 15.163 14.0747 14.4169 14.0747 13.4964V3.58482C14.0747 2.66436 13.3286 1.91817 12.4081 1.91817H10.8377V1.83709C10.8377 1.28481 10.39 0.837097 9.83769 0.837097H6.15358ZM10.8377 3.25149V3.33496C10.8377 3.88724 10.39 4.33495 9.83769 4.33495H6.15358C5.60131 4.33495 5.1536 3.88724 5.1536 3.33496V3.25149H3.59241C3.40833 3.25149 3.25909 3.40073 3.25909 3.58482V13.4964C3.25909 13.6805 3.40832 13.8297 3.59242 13.8297H12.4081C12.5922 13.8297 12.7414 13.6805 12.7414 13.4964V3.58482C12.7414 3.40073 12.5922 3.25149 12.4081 3.25149H10.8377ZM6.48691 3.00163V2.17042H9.50436V3.00163H6.48691Z" fill="#000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.27151 7.24478C5.27151 7.42888 5.42075 7.57811 5.60484 7.57811H10.3807C10.5648 7.57811 10.714 7.42888 10.714 7.24478V6.57812C10.714 6.39403 10.5648 6.24479 10.3807 6.24479H5.60484C5.42075 6.24479 5.27151 6.39403 5.27151 6.57812V7.24478ZM5.27151 9.4076C5.27151 9.5917 5.42075 9.74093 5.60484 9.74093H10.3807C10.5647 9.74093 10.714 9.5917 10.714 9.4076V8.74094C10.714 8.55685 10.5647 8.40761 10.3807 8.40761H5.60484C5.42075 8.40761 5.27151 8.55685 5.27151 8.74094V9.4076Z" fill="#009995"></path></svg>', children: [
						{ title: '备货计划(新)' },
						{ title: '商家产能协同' },
					]
				},
				{
					title: '订单管理', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-orders_unselect " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.00024 3.0142C2.00024 2.09359 2.74655 1.34729 3.66716 1.34729H12.3351C13.2557 1.34729 14.002 2.09359 14.002 3.0142V13.6825C14.002 14.6031 13.2557 15.3494 12.3351 15.3494H3.66716C2.74655 15.3494 2.00024 14.6031 2.00024 13.6825V3.0142ZM3.66716 2.68082C3.48304 2.68082 3.33378 2.83008 3.33378 3.0142V13.6825C3.33378 13.8666 3.48304 14.0158 3.66716 14.0158H12.3351C12.5192 14.0158 12.6685 13.8666 12.6685 13.6825V3.0142C12.6685 2.83008 12.5192 2.68082 12.3351 2.68082H3.66716Z" fill="#000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M10.6682 6.01799C10.6682 6.20025 10.5204 6.34799 10.3382 6.34799H5.66413C5.48185 6.34799 5.33408 6.20025 5.33408 6.01799V5.34466C5.33408 5.16241 5.48185 5.01466 5.66413 5.01466H10.3382C10.5204 5.01466 10.6682 5.16241 10.6682 5.34466V6.01799ZM10.6682 8.68466C10.6682 8.86691 10.5204 9.01466 10.3382 9.01466H5.66413C5.48185 9.01466 5.33408 8.86691 5.33408 8.68466V8.01133C5.33408 7.82907 5.48185 7.68133 5.66413 7.68133H10.3382C10.5204 7.68133 10.6682 7.82907 10.6682 8.01133V8.68466ZM5.33408 11.3513C5.33408 11.5336 5.48185 11.6813 5.66413 11.6813H8.33786C8.52014 11.6813 8.66791 11.5336 8.66791 11.3513V10.678C8.66791 10.4957 8.52014 10.348 8.33786 10.348H5.66413C5.48185 10.348 5.33408 10.4957 5.33408 10.678V11.3513Z" fill="#009995"></path></svg>', children: [
						{ title: '备货订单跟进(新)' },
						{ title: 'JIT订单跟进' },
						{ title: '发货台', path: './订单管理-发货台.html' },
						{ title: '待揽收-平台物流' },
						{ title: '待送货-快递/自送' },
						{ title: '送货管理' },
						{ title: '质检异常处理' },
						{ title: '送货异常处理' },
						{ title: '退货管理' },
					]
				},
				{
					title: '库存管理', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-stocking_plan " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.69011 2C4.24431 2 3.828 2.2228 3.58071 2.59373L1.69956 5.41546C1.59477 5.52583 1.50868 5.65412 1.44636 5.79526L1.44529 5.79687C1.35567 5.9313 1.32131 6.08645 1.33687 6.2355C1.33453 6.26781 1.33333 6.30043 1.33333 6.33333V12.6667C1.33333 13.5871 2.07953 14.3333 3 14.3333H13C13.9205 14.3333 14.6667 13.5871 14.6667 12.6667V6.33333C14.6667 6.30045 14.6655 6.26785 14.6631 6.23557C14.6772 6.10149 14.6508 5.9619 14.5788 5.83591L14.5464 5.77925C14.513 5.70622 14.4732 5.63673 14.4277 5.5715L12.7708 2.67181C12.5334 2.25638 12.0916 2 11.6131 2H4.69011ZM12.5655 5L11.6131 3.33333L4.69011 3.33333L3.579 5H12.5655ZM2.66667 6.3685L2.69011 6.33333H13.3274L13.3333 6.34373V12.6667C13.3333 12.8508 13.1841 13 13 13H3C2.81591 13 2.66667 12.8508 2.66667 12.6667V6.3685Z" fill="#000"></path><path d="M4.16667 8C4.07462 8 4 8.07462 4 8.16667V8.83333C4 8.92538 4.07462 9 4.16667 9H6.83333C6.92538 9 7 8.92538 7 8.83333V8.16667C7 8.07462 6.92538 8 6.83333 8H4.16667zM4.16667 10.1667C4.07462 10.1667 4 10.2413 4 10.3333V11C4 11.092 4.07462 11.1667 4.16667 11.1667H6.16667C6.25871 11.1667 6.33333 11.092 6.33333 11V10.3333C6.33333 10.2413 6.25871 10.1667 6.16667 10.1667H4.16667zM11.8521 7.52411L12.2105 7.74896C12.3102 7.81047 12.3399 7.94199 12.2784 8.04168L10.2696 11.2553C10.1975 11.3699 10.0766 11.4441 9.94296 11.4547 9.80933 11.4653 9.67993 11.4123 9.59084 11.3105L8.24599 9.77259C8.16751 9.68562 8.17811 9.54986 8.26508 9.4735L8.58539 9.1935C8.67236 9.11714 8.80599 9.12562 8.88448 9.21471L9.85387 10.322 11.5593 7.59199C11.6208 7.49229 11.7524 7.46259 11.8521 7.52411z" fill="#009995"></path></svg>', children: [
						{ title: '库存查询' },
						{ title: '库存台账' },
					]
				},
				{
					title: '数据中心', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-data_unselect " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.8417 7.17775C10.8417 6.62546 11.2894 6.17775 11.8417 6.17775H13.6625C14.2148 6.17775 14.6625 6.62546 14.6625 7.17775V14.1387C14.6625 14.691 14.2148 15.1387 13.6625 15.1387H11.8417C11.2894 15.1387 10.8417 14.691 10.8417 14.1387V7.17775ZM12.175 7.51108V13.8054H13.3291V7.51108H12.175ZM1.33716 7.80147C1.33716 7.24918 1.78487 6.80147 2.33716 6.80147H4.15792C4.71021 6.80147 5.15792 7.24918 5.15792 7.80147V14.1387C5.15792 14.691 4.71021 15.1387 4.15792 15.1387H2.33716C1.78487 15.1387 1.33716 14.691 1.33716 14.1387V7.80147ZM2.67049 8.1348V13.8054H3.82459V8.1348H2.67049ZM7.09172 7.79656C6.53943 7.79656 6.09172 8.24428 6.09172 8.79656V14.1387C6.09172 14.6909 6.53943 15.1387 7.09172 15.1387H8.91248C9.46476 15.1387 9.91248 14.6909 9.91248 14.1387V8.79656C9.91248 8.24428 9.46476 7.79656 8.91248 7.79656H7.09172ZM7.42505 13.8053V9.1299H8.57914V13.8053H7.42505Z" fill="#000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11.7743 2.60316L10.7146 2.22952C10.541 2.1683 10.4499 1.97793 10.5111 1.80431L10.7328 1.17558C10.794 1.00197 10.9844 0.910846 11.158 0.972063L14.207 2.04711C14.3806 2.10833 14.4717 2.2987 14.4105 2.47232L13.3355 5.5213C13.2742 5.69492 13.0839 5.78604 12.9103 5.72482L12.2815 5.50313C12.1079 5.44192 12.0168 5.25154 12.078 5.07793L12.5674 3.68989L7.53203 6.41863C7.22794 6.58342 6.8717 6.6236 6.53854 6.53067L1.76483 5.19915C1.5875 5.14969 1.48385 4.96584 1.53331 4.78851L1.71242 4.14636C1.76188 3.96903 1.94573 3.86538 2.12306 3.91484L6.89677 5.24636L11.7743 2.60316Z" fill="#009995"></path></svg>', children: [
						{ title: '经营分析', path: './数据中心-经营分析.html' },
						{ title: '市场榜单' },
						{ title: '大促活动分析' },
					]
				},
				{
					title: '营销管理', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-promotions_unselect " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.36384 9.60441L4.98167 9.60443L5.89474 9.60442L6.37423 9.76298L7.03554 13.0204C7.20325 13.8466 6.57191 14.6191 5.72904 14.6191H4.47156C3.83753 14.6191 3.29122 14.1725 3.16506 13.5511L2.36384 9.60441ZM3.7242 9.60441L4.47156 13.2858H5.72904L4.98167 9.60443L3.7242 9.60441Z" fill="#009995"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14.8461 2.71598C14.8461 1.79673 13.9377 1.15331 13.0705 1.45837L5.92082 3.9736H2.48428C1.748 3.9736 1.15112 4.57055 1.15112 5.30693V8.2719C1.15112 9.00828 1.748 9.60523 2.48428 9.60523L5.89474 9.60442L13.0971 11.97C13.9592 12.2531 14.8461 11.6108 14.8461 10.7034V2.71598ZM5.87758 8.27189V5.30693H2.48428L2.48428 8.2719L5.87758 8.27189ZM7.21074 8.63409V4.93306L13.5129 2.71598V10.7034L7.21074 8.63409Z" fill="#000"></path></svg>', children: [
						{ title: '营销活动' },
						{ title: '智能营销策略' },
					]
				},
				{
					title: '资金结算', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-gmv_unselect " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.33516 5.00118C1.33516 4.0814 2.08079 3.33578 3.00056 3.33578H13.0029C13.9227 3.33578 14.6683 4.0814 14.6683 5.00118V13.0031C14.6683 13.9228 13.9227 14.6685 13.0029 14.6685H3.00056C2.08079 14.6685 1.33516 13.9228 1.33516 13.0031V5.00118ZM3.00056 4.6661C2.8155 4.6661 2.66548 4.81612 2.66548 5.00118V13.0031C2.66548 13.1881 2.8155 13.3382 3.00056 13.3382H13.0029C13.188 13.3382 13.338 13.1881 13.338 13.0031V5.00118C13.338 4.81612 13.188 4.6661 13.0029 4.6661H3.00056Z" fill="#000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8.25157 5.33459C8.43566 5.33459 8.5849 5.48383 8.5849 5.66792V6.27433H9.32084C9.50494 6.27433 9.65417 6.42357 9.65417 6.60766V7.27464C9.65417 7.45874 9.50494 7.60798 9.32084 7.60798H7.61071C7.4147 7.60798 7.2558 7.76688 7.2558 7.96289C7.2558 8.1589 7.4147 8.31779 7.61071 8.31779L8.32809 8.31766L8.34993 8.31779H8.37701C9.28695 8.34368 10.0167 9.09001 10.0167 10.0062C10.0167 10.8515 9.39559 11.5517 8.5849 11.6754V12.3144C8.5849 12.4985 8.43566 12.6477 8.25157 12.6477H7.58458C7.40049 12.6477 7.25125 12.4985 7.25125 12.3144V11.6948H6.61796C6.43386 11.6948 6.28463 11.5455 6.28463 11.3614V10.6945C6.28463 10.5104 6.43386 10.3611 6.61796 10.3611H8.32809C8.5241 10.3611 8.683 10.2022 8.683 10.0062C8.683 9.81355 8.52948 9.65674 8.3381 9.65144H7.61071C6.67814 9.65144 5.92215 8.89545 5.92215 7.96289C5.92215 7.15368 6.49137 6.47742 7.25125 6.31267V5.66792C7.25125 5.48383 7.40049 5.33459 7.58458 5.33459H8.25157Z" fill="#009995"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14.67 2.33364C14.67 2.51774 14.5208 2.66698 14.3367 2.66698L1.66683 2.66698C1.48273 2.66698 1.3335 2.51774 1.3335 2.33364L1.3335 1.67031C1.3335 1.48621 1.48273 1.33698 1.66683 1.33698L14.3367 1.33698C14.5208 1.33698 14.67 1.48621 14.67 1.67031V2.33364Z" fill="#000"></path></svg>', children: [
						{ title: '结算数据', path: './资金结算-结算数据.html' },
						{ title: '收付款管理' },
						{ title: '费用中心' },
						{ title: '资金账户', path: './资金结算-资金账户.html' },
						{ title: '激励管理' },
						{ title: '赔付管理' },
						{ title: '发票管理' },
					]
				},
				{
					title: '成长中心', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-trophy_deafult_unselect " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.66349 11.5686C10.9242 11.2451 12.662 9.30075 12.662 6.95054V2.69801C12.662 2.17359 12.2369 1.74847 11.7125 1.74847H4.2809C3.75649 1.74847 3.33137 2.1736 3.33137 2.69801V6.95055C3.33137 9.30096 5.0695 11.2454 7.33053 11.5687V12.9185H5.66444C5.48035 12.9185 5.33111 13.0678 5.33111 13.2518V13.9181C5.33111 14.1022 5.48035 14.2515 5.66444 14.2515H10.3296C10.5137 14.2515 10.6629 14.1022 10.6629 13.9181V13.2518C10.6629 13.0678 10.5137 12.9185 10.3296 12.9185H8.66349V11.5686ZM11.3291 6.95054C11.3291 8.79097 9.83712 10.2829 7.9967 10.2829C6.15628 10.2829 4.66432 8.79097 4.66432 6.95055V3.08143H11.3291V6.95054Z" fill="#000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M12.1957 8.98598C12.4944 8.37088 12.662 7.68028 12.662 6.95054L12.662 3.06146H13.995C14.5471 3.06146 14.9947 3.50905 14.9947 4.06118V6.0377C14.9947 7.61676 13.7549 8.90626 12.1957 8.98598ZM12.662 7.53419V4.39442H13.6617V6.0377C13.6617 6.71254 13.2489 7.29096 12.662 7.53419Z" fill="#009995"></path><path d="M3.3313 3.06146H1.99874C1.44661 3.06146.999023 3.50905.999023 4.06118V6.0377C.999023 7.61661 2.23852 8.90601 3.79754 8.98596 3.50718 8.38804 3.34076 7.71879 3.33169 7.0116V7.53419C2.7448 7.29096 2.33198 6.71254 2.33198 6.0377V4.39442H3.3313V3.06146zM4.66432 3.08143L4.66464 7.00214C4.66438 6.98497 4.66432 6.96777 4.66432 6.95055V3.08143z" fill="#009995"></path></svg>', children: [
						{ title: '商家考核' },
						{ title: '预警中心' },
						{ title: '处置中心' },
						{ title: '任务中心' },
					]
				},
				{
					title: '我的账号', icon: '<svg class="gs-portal-arco-icon gs-portal-arco-icon-setting " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.40132 1.36542C4.63916 1.36542 3.9349 1.77202 3.55382 2.43207L0.954999 6.93336C0.57392 7.59341 0.573919 8.40662 0.954999 9.06667L3.55382 13.568C3.9349 14.228 4.63916 14.6346 5.40132 14.6346H10.599C11.3611 14.6346 12.0654 14.228 12.4465 13.568L15.0453 9.06667C15.4264 8.40662 15.4264 7.59341 15.0453 6.93336L12.4465 2.43207C12.0654 1.77202 11.3611 1.36542 10.599 1.36542H5.40132ZM4.78548 3.14318C4.91251 2.92316 5.14727 2.78763 5.40132 2.78763L10.599 2.78763C10.853 2.78763 11.0878 2.92316 11.2148 3.14318L13.8136 7.64446C13.9406 7.86448 13.9406 8.13555 13.8136 8.35557L11.2148 12.8569C11.0878 13.0769 10.853 13.2124 10.599 13.2124H5.40132C5.14727 13.2124 4.91251 13.0769 4.78548 12.8568L2.18667 8.35557C2.05964 8.13555 2.05964 7.86448 2.18667 7.64446L4.78548 3.14318Z" fill="#000" fill-opacity=".92"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.10511 7.96C5.10511 6.3752 6.38985 5.09047 7.97465 5.09047C9.55945 5.09047 10.8442 6.3752 10.8442 7.96C10.8442 9.5448 9.55945 10.8295 7.97465 10.8295C6.38985 10.8295 5.10511 9.5448 5.10511 7.96ZM7.97462 6.51271C7.17528 6.51271 6.52729 7.1607 6.52729 7.96003C6.52729 8.75937 7.17528 9.40736 7.97462 9.40736C8.77395 9.40736 9.42194 8.75937 9.42194 7.96003C9.42194 7.1607 8.77395 6.51271 7.97462 6.51271Z" fill="#009995"></path></svg>', children: [
						{ title: '商家资料' },
						{ title: '账号管理' },
						{ title: '认证中心' },
						{ title: '推款额度' },
						{ title: '地址管理' },
						{ title: '退货地址配置' },
						{ title: '商标管理' },
						{ title: '开通国家' },
						{ title: '资质管理' },
					]
				},
			]
		}
	},
	methods: {
		getActiveMenu() {
			let pathname = decodeURIComponent(location.pathname);
			let arr = pathname.split('\/');
			let last = arr[arr.length - 1];
			let path = './' + last;
			return path;
		},
		// 选中菜单
		menuSelect(index) {
			if (index) {
				window.location.href = index;
			} else {
				ELEMENT.Message.error('该功能暂未上线');
			}
		}
	}
})

const svgList = [
	{ name: 'pdd', html: `<path d="M519.2 646.3l209.3 155.2-209.3 158.5 0-313.7z m-14.4 0l0 313.7-209.3-158.4 209.3-155.3z m-71.1 98.8c-30.5 0-55.5 24.7-57.9 56.1 3.5-3.8 8.8-6.2 14.9-6.2 5.7 0 10.8 2.2 14.3 5.7 3.5-3.5 8.6-5.7 14.3-5.7 2.7 0 5.3 0.5 7.6 1.4l0 40.6c0 4.1-3.2 7.4-7 7.4-2.9 0-5.4-1.9-6.5-4.5l-0.5-2.9c0-3.9-3-7-6.8-7.1-3.7 0-6.7 3.1-6.7 7.1 0 11.9 9.2 21.5 20.5 21.5 11.3 0 20.5-9.6 20.5-21.5l0-40.6c2.3-0.9 4.9-1.4 7.6-1.4 5.7 0 10.8 2.2 14.4 5.7 3.5-3.5 8.6-5.7 14.3-5.7 6 0 11.3 2.5 14.8 6.2-2.3-31.4-27.3-56.1-57.8-56.1z m188.5 29.9l-64.6 0c-1.1 0-1.9 0.9-1.9 2l0 59.9c0 5.9 4.6 10.7 10.2 10.7l48.1 0c5.6 0 10.2-4.8 10.1-10.7l0-59.9c0-1.1-0.9-2-1.9-2z m114-300.3l0 313.4-204.7-154.9 204.7-158.5z m-448.4 0l204.7 158.5-204.7 154.9 0-313.4z m302.1 262.2c-2.7 0-4.9 2.3-4.9 5.1l0 1.9c-10.2 1.5-18.4 7.7-20.9 15.8l-3.7 0c-2 0-3.7 1.8-3.7 3.9 0 2.2 1.7 3.9 3.7 3.9l59.1 0c2 0 3.7-1.7 3.7-3.9 0-2.1-1.7-3.9-3.7-3.9l-3.8 0c-2.5-8-10.6-14.2-20.9-15.8l0-1.9c0-2.9-2.2-5.2-4.9-5.1z m99.6-70.5c-6.1 3.8-13.1 6.1-20.7 6-7.6 0-14.6-2.3-20.7-6l2.8 17.6c0.4 2.3 2.2 3.9 4.5 3.9l26.8 0c2.2 0 4.1-1.7 4.4-3.9l2.9-17.6z m-310-86.6l-30.8 0c-2.8 0-5.5 1.5-7 3.8l-2.5 5.2c-1.6 2.3-4.2 3.8-7 3.8l-11.5 0c-4.8 0-8.7 4.1-8.7 9.1l0 60.4c0 5 3.9 9.1 8.7 9.1l86.8 0c4.8 0 8.7-4.1 8.7-9.1l0-60.4c0-5-3.9-9.1-8.7-9.1l-11.4 0c-2.9 0-5.5-1.5-7.1-3.8l-1.2-2.6c-1.1-3.8-4.5-6.4-8.3-6.4z m289.3 13.9c-8 0-15.3 3-21.2 7.9-7.8 6.5-12.9 16.5-12.9 27.8 0 11.3 5.1 21.2 12.9 27.8 5.8 4.9 13.1 7.9 21.2 7.9 8 0 15.3-3 21.1-7.9 7.8-6.5 12.9-16.5 12.9-27.8 0-11.3-5.1-21.2-12.9-27.8-5.8-4.9-13.1-7.9-21.1-7.9z m-304.7 10.2c14.2 0 25.7 12.1 25.7 26.9 0 14.8-11.5 26.9-25.7 26.9-14.2 0-25.7-12.1-25.7-26.9 0-14.8 11.5-26.9 25.7-26.9z m0 7.5c-10.2 0-18.5 8.7-18.5 19.4 0 10.7 8.3 19.4 18.5 19.4 10.2 0 18.5-8.7 18.5-19.4 0-10.7-8.3-19.4-18.5-19.4z m318.1-40.5l-26.8 0c-2.2 0-4.1 1.7-4.5 3.9l-2.8 17.6c6.1-3.8 13.1-6.1 20.7-6 7.6 0 14.6 2.3 20.7 6l-2.9-17.6c-0.4-2.3-2.2-3.9-4.4-3.9z m-104.3-223.3l36.6 28.7-35.7 28.6 34.8 0 10.1 29.8-23.8 0.9-7.4 32.7 28.4 6.7 10.1 27.8-34.8 4.8-8.3 58.6-19.2 13.4-11.9-74.9-21.1-1.9-15.5 62.4-20.2 14.4-1.8-72-16.5-2.9-7.3-20.1-7.4 9.6-11 85.4-43-30.7 27.5-8.6-5.5-40.4-14.7 13.5-12.8-46.1 30.2-5.7-4.6-29.8-8.2-2.9-14.7-26.8 22-7.7 21.1-46.1 15.6 44.2 17.4 2.9 0 15.3 26.5-5.8-20.1-55.6 51.3 22.1-12.8 37.4 25.6-5.8 21.1-55.4z m-100.8 70.8l-8.2 11.5-4.6 32.6 25.6-2.9-8.2 19.2 25.6-10.5-4.6-26.9-18.3-5.8-7.3-17.2z m85.2 17.2l-21.1 4.8-4.6 32.7 28.4-5.8-2.7-31.7z m173.9-307.4l0 313.5-216-154.9 216-158.6z m-448.4 0.1l216 158.5-216 154.9 0-313.4z m410.7 97.8l-59.4 0c-1.6 0-3 1.2-3.3 2.7-14.1 61.1 30 60.7 29.9 79.1l0 9.6c0 6.6-21.9 7.4-21.9 13l0 1.1 50 0 0-1.1c0-5.6-21.9-6.4-22-13l0-9.6c0-18.4 44-17.9 30-79.1-0.4-1.6-1.8-2.7-3.3-2.7z m-319.4 4.5c-0.9 8-7.3 14.2-15.1 14.2-7.8 0-14.2-6.2-15.1-14.2l-6 0.1c-3.8 0-7.5 1.1-10.8 3l-21.6 13.1c-1.3 0.8-1.7 2.5-1 3.8l10 18.1 7.5-4.6 0 62.4c0 2.8 2.2 5.1 4.9 5l64.2 0c2.7 0 4.8-2.3 4.9-5l0-62.4 7.5 4.6 10-18.1c0.7-1.4 0.3-3.1-1-3.8l-21.6-13.1c-3.3-2-7-3-10.8-3l-6-0.1z m371.6 243.8l209.3 155.2-209.3 158.5 0-313.7z m110.6 120.2l-77.9 0c-2 0-3.6 1.7-3.5 3.8l0 65.8c0 8.8 6.8 16 15.3 16l54.4 0c8.5 0 15.3-7.2 15.3-16l0-4.7 0.8 0c11.6 0 21-9.9 21.1-22.1 0-10.6-7.2-19.5-16.8-21.6l-5.1-0.4 0-17c0-2.1-1.6-3.8-3.6-3.8z m98.7-292.1l0 313.5-204.7-156.7 204.7-156.8z m-70.9 107.1l-1.8 0.4c-6 2.9-15.3 9.2-20.5 16.2-25.4 1-44.4 24.4-44.4 33.1 0 8.7 19 32 44.4 33 5.2 7.1 14.5 13.3 20.5 16.2 2.4 1.1 5-0.7 5-3.3l0-17.5c15.5-6.8 22.1-18.6 26.6-18.6 5.2 0 13.5 17.4 24.5 13.6 6.8-2.4 1.5-18.2-3.4-23.4 5-5.2 10.3-21.1 3.4-23.5-11-3.8-19.3 13.6-24.5 13.6-4.5 0-11-11.8-26.6-18.6l0-17.5c0-1.4-0.7-2.5-1.6-3.1l-1.6-0.6z m-138.4-281.6l209.3 155.2-209.3 158.5 0-313.7z m71.7 113.4c-24.9 0-45.2 21.2-45.2 47.3 0 26.1 20.2 47.3 45.2 47.3 25 0 45.2-21.2 45.1-47.3 0-26.1-20.2-47.3-45.1-47.3z m-34-26.7c1.1 19.1 18.6 28 32 21.4-1.4-18.1-15.6-27-32-21.4z m-515.1 259.7l0 313.7-209.3-158.4 209.3-155.3z m-34.6 101.7c-16.8 8.4-34.2 60.8-37.7 64.6-3.5 3.8-7.3 0.8-17.3 4.3-27.1 9.5-31.4 15.2-31.4 16.9 0 3.6 6.4 13 41.3 13 31.9 0 17.6-25.7 34.4-49.8 2.2-3.2 9-5.2 9 0.1l0 49.4 7.6 0c-8.7-63.6 30.6-70.6-5.9-98.5z m-174.7-273.6l204.7 156.7-204.7 156.8 0-313.5z m78.1 102.7c-11.9 0-21.7 9.9-22.2 22.3-7.9 0.1-15.3 5-18.1 12.8-4.4 12.4-7 26.9-6.9 42.3 0 11.4 9.1 20.3 19.8 20.3l54.9 0c10.7 0 19.8-8.9 19.8-20.1 0-15.6-2.5-30-7-42.5-2.8-7.8-10.1-12.7-18-12.8-0.6-12.3-10.3-22.3-22.3-22.3z m131.2-277.2l0 313.7-209.3-158.4 209.3-155.3z m-57.1 101.4l-1.9 6.5c-3.1 0.1-6.1 1.2-8.4 3.5l-2.5 2.4-2.5-2.4c-2.3-2.2-5.4-3.3-8.4-3.5l-1.8-6.5c-0.6-2.4-3-3.8-5.3-3.1-2.3 0.7-3.6 3.2-2.9 5.6l1.8 6.6-1.4 0.9c-7.9 9.7 1.3 17.4 1.2 32.9l-20.8 39.5-1.3 4.5c0 0.2 0 0.4 0 0.6-0.3 0.9-0.4 1.8-0.4 2.8 0 5.9 4.9 10.6 11 10.6 2.8 0 5.4-1 7.3-2.7 2 5 7 8.5 12.9 8.5 4.3 0 8.1-1.9 10.6-4.9 2.5 2.9 6.3 4.9 10.6 4.9 5.9 0 10.9-3.5 12.9-8.5 1.9 1.7 4.5 2.7 7.3 2.7 6.1 0 11-4.7 11.1-10.6l-0.5-2.8c0-0.2 0.1-0.4 0.1-0.6l-1.4-4.5-20.9-39.8c0-15.4 9.2-22.9 1.3-32.6l-1.4-0.9 1.8-6.6c0.7-2.4-0.6-4.8-2.9-5.6-2.3-0.7-4.6 0.7-5.2 3.1z" stroke-width="64"></path>` },
	{ name: 'book', html: `<path d="M687.5 128c107.2 0 194.9 32.4 261 97.4 7.3 7.2 11.5 17.1 11.5 27.4l0 604.8c0 28.4-29.8 47-55.4 34.5-73.1-36-135.9-53.7-187.8-53.7-51.9 0-114.7 17.6-187.8 53.7-12.2 6-26.7 5.1-38.1-2.4-52.1-34.2-113-51.3-183.7-51.3-70.7 0-131.7 17.1-183.7 51.3-25.5 16.8-59.5-1.6-59.5-32.1l0-604.8c0-10.3 4.1-20.1 11.5-27.4 66.1-65 153.8-97.4 261-97.4 76.5 0 135.2 16.9 173 51.8l2.5 2.5 2.5-2.5c35.3-32.6 88.8-49.5 158-51.6l15-0.2z m0 76.8c-78 0-120.7 18.8-136.5 53.6l-0.7 1.6 0.1 538.3c46.9-18.8 90.6-30.5 131.2-34.8l18.7-1.5 16.5-0.4c48.8 0 102.5 11.7 161.3 34.7l5.1 2.1 0-528.8-9.9-8.2c-44.5-34.8-100.3-53.6-168.4-56.3l-17.4-0.3z m-351 0c-76.2 0-137.6 18.9-185.8 56.6l-10 8.2 0 524.2 9.1-3.8c42-16.6 87.5-25.9 136.3-28l21.1-0.4c60.5 0 116 10.7 166.4 32.1l0-533.9c-15.3-35.7-58.1-55-137.1-55z" stroke-width="64"></path>` },
	{ name: 'chat', html: `<path d="M889.8 445.6c19.7-8 42 1.5 50 21.1 13.3 32.8 20.2 67.5 20.2 102.9l-0.4 15.4c-3.8 66.6-32 129.2-79.6 180.4l-10.3 10.6 0.3 78.4c0 6.7-1 13.3-3 19.7-10.7 33.7-46.7 52.3-80.4 41.6l-113.8-36.3-23.5 4.8c-55.9 9.6-113.6 6.8-181.4-15.8-20.1-6.7-31-28.5-24.3-48.5 6.7-20.1 28.5-31 48.6-24.3 59.9 20 108.2 20.8 156.4 10.6l16.6-3.9 6.9-1c4.6-0.3 9.3 0.3 13.7 1.8l86.5 27.3c1.6 0.5 3.3 0.8 4.9 0.7 8.8-0.1 15.9-7.3 15.9-16.1l-0.4-55.2c-0.1-11 4.6-21.6 12.9-28.9 50-44.5 77.6-101.4 77.6-161.3 0-25.4-4.9-50.3-14.6-74-8-19.7 1.5-42 21.2-50z m-441.8-349.6c210.5 0 384 141.3 384 320 0 178.7-173.5 320-384 320-24.4 0-56.6-3.4-96.4-10.3l-115 44.6c-8.5 3.3-17.6 4.7-26.7 4.2-35.3-2-62.3-32.2-60.3-67.5l4.7-84.6-10.3-10.6c-47.6-51.2-75.8-113.8-79.6-180.4l-0.4-15.4c0-178.7 173.5-320 384-320z m0 76.8c-171.2 0-307.2 110.8-307.2 243.2 0 59.9 27.7 116.8 77.6 161.3 8.2 7.3 12.9 17.9 12.9 28.9l-7.2 67.9c-0.3 2.8 0.2 5.6 1.3 8.2 3.6 8.1 13.1 11.7 21.1 8.1l91.7-40.9c4.4-1.4 9.1-2 13.7-1.8l6.9 1c28.7 6.9 58.6 10.5 89.2 10.5 171.2 0 307.2-110.8 307.2-243.2 0-132.4-136-243.2-307.2-243.2z m-153.6 198.4c28.3 0 51.2 22.9 51.2 51.2 0 28.3-22.9 51.2-51.2 51.2-28.3 0-51.2-22.9-51.2-51.2 0-28.3 22.9-51.2 51.2-51.2z m153.6 0c28.3 0 51.2 22.9 51.2 51.2 0 28.3-22.9 51.2-51.2 51.2-28.3 0-51.2-22.9-51.2-51.2 0-28.3 22.9-51.2 51.2-51.2z m153.6 0c28.3 0 51.2 22.9 51.2 51.2 0 28.3-22.9 51.2-51.2 51.2-28.3 0-51.2-22.9-51.2-51.2 0-28.3 22.9-51.2 51.2-51.2z" stroke-width="64"></path>` },
	{ name: 'rule', html: `<path d="M629.6 64c70.7 0 128 57.3 128 128l0 8.8 10.4 0c67.5 0 122.8 52.2 127.6 118.4l0.4 9.6 0 503.2c0 70.7-57.3 128-128 128l-512 0c-70.7 0-128-57.3-128-128l0-640c0-70.7 57.3-128 128-128l373.6 0z m126.3 212l-551.8 0 0 544.8c0 35.3 28.7 64 64 64l487.8 0c35.3 0 64-28.7 64-64l0-480.8c0-35.3-28.7-64-64-64z m-238.7 330.8c21 0 38.1 16.8 38 37.6 0 20.8-17 37.6-38 37.6l-212.8 0c-21 0-38.1-16.8-38-37.6 0-20.8 17-37.6 38-37.6l212.8 0z m138.4-171c21 0 38.1 16.8 38 37.6 0 20.8-17 37.6-38 37.6l-351.2 0c-21 0-38.1-16.8-38-37.6 0-20.8 17-37.6 38-37.6l351.2 0z m-38.1-296.6l-349.3 0c-34.5 0-62.6 27.3-64 61.6l477.1 0-0.2-5c-3.7-31.8-30.7-56.5-63.6-56.6z" stroke-width="64"></path>` },
	{ name: 'customer-service', html: `<path d="M512 127.4c160.4 0 297.7 112.3 326.8 264l42.7 0c61 0 110.5 48.7 110.5 108.9l0 52.8c0 60.1-49.5 106.2-110.5 106.2l-36.6 0c-23.4 136.3-142.6 237.4-283.2 237.3-21.5 0-38.9-17.2-39-38.4 0-21.2 17.4-38.4 39-38.3 115.6 0 209.4-93.5 209.4-209l0-148.4c0-142.7-116-258.4-259.1-258.4-142.3 0-257.9 111.8-259.1 253.6l0 139.7c0 34.2-28.1 61.9-62.8 61.8l-47.6 0c-61 0-110.5-48.7-110.5-108.8l0-52.8c0-60.1 49.5-106.1 110.5-106.2l27.7 0.3c8.3 0 12.4-0.2 12.5-0.5 33.3-152.9 169.8-263.9 329.3-263.8z m119.2 375.5c21.5 0 38.9 17.2 38.9 38.4 0 86-70.8 155.8-158.1 155.8-87.3 0-158.1-69.7-158.1-155.8 0-21.2 17.4-38.4 38.9-38.4 21.5 0 38.9 17.2 38.9 38.4 0 43.6 35.9 79 80.3 79 41.5 0 76-31.1 79.9-71.2l0.4-7.8c0-21.2 17.4-38.4 38.9-38.4z m-454.9-35.2l-34.3 0c-16.7 0-30.6 12.9-33.2 29.7l-0.4 5.7 0 44.3c0 19.6 15 35.4 33.6 35.4l34.3 0 0-115.1z m704.6 0l-33.4 0 0 115.1 33.4 0c18.6 0 33.6-15.9 33.6-35.4l0-44.3-0.4-5.7c-2.6-16.8-16.5-29.7-33.2-29.7z" stroke-width="64"></path>` },
	{ name: 'message', html: `<path d="M512 64c28.3 0 51.2 22.9 51.2 51.2l0.1 16.9c152.4 24.5 268.7 156.6 268.7 315.9l0 114.1c0 10 2.3 19.8 6.8 28.8l51.3 102c23.8 47.4 4.7 105.1-42.7 128.9-13.4 6.7-28.1 10.2-43.1 10.2l-127 0.1c-19 73.6-85.8 127.9-165.3 127.9-79.5 0-146.3-54.4-165.2-127.9l-127.4-0.1c-53 0-96-43-96-96 0-14.9 3.5-29.6 10.2-43l51.6-103.2c4.5-8.9 6.8-18.7 6.8-28.6l0-113.2c0-159.3 116.4-291.4 268.8-315.9l0-16.9c0-28.3 22.9-51.2 51.2-51.2z m73.9 768.1l-147.7 0c14.8 25.5 42.3 42.6 73.8 42.6 31.6 0 59.1-17.1 73.9-42.6z m-73.9-627.3c-134.3 0-243.2 108.9-243.2 243.2l0 116.2c0 19.9-4.6 39.5-13.5 57.3l-53.1 105.9c-4.7 9.5-0.9 21 8.6 25.8 2.7 1.3 5.6 2 8.6 2l584.9 0c10.6 0 19.2-8.6 19.2-19.2 0-2-0.3-4-0.9-5.9l-1.1-2.7-52.7-104.7c-9-17.8-13.6-37.5-13.6-57.5l0-117.2c0-134.3-108.9-243.2-243.2-243.2z" stroke-width="64"></path>` },
	{ name: 'shop', html: `<path d="M664.1 497.6c19.8 17.1 42.4 30.5 67.2 39.6 1.8 0.7 3.3 1.2 5 1.6 26.1 9.9 53.8 15.1 82.1 15.1 36 0 71-8.3 102.8-24.1 3.3-1.6 6.5-3.3 9.8-5l-0.1 345.6c0 56.6-45.8 102.4-102.4 102.4l-633 0c-56.6 0-102.4-45.8-102.4-102.4l-0.1-344.5c35 18 73.8 28 112.6 28 11.5 0 22.9-0.9 34.2-2.5 43.7-6.5 82.4-23.8 115.5-51.5 4.7 3.9 9.5 7.6 14.5 11.1 28.5 19.9 60.9 31.6 99.3 38.9 14.1 2.7 28.4 4 42.9 4 17.7 0 35.1-2 52.2-5.9 36.5-8.4 70.1-24.9 99.9-50.4z m49.6 223.6c-11.7-17.7-35.6-22.5-53.2-10.7-43.7 29-94.9 44.7-148.5 44.7-53.6 0-104.8-15.7-148.5-44.8-17.7-11.7-41.5-6.9-53.3 10.8-11.7 17.7-6.9 41.5 10.8 53.2 56.2 37.3 122.1 57.5 191 57.6 68.9 0 134.8-20.2 191-57.6 17.7-11.7 22.5-35.6 10.7-53.2z m135.6-670c16.3 0 31.1 8.6 38.7 22.1l2.8 6 82 225.1 0 27.6c0 13.2-2.1 27.1-7.1 39.4-16.2 39.1-50.9 65.1-88.5 82.8-21.7 10.2-45.9 15.9-71.4 15.9-21 0-41-3.9-59.5-10.9-1-0.2-2-0.5-3-0.8-35.4-12.3-64.1-37.1-84-72.2-10.2 16.1-24 32.5-42.7 47.6-19.9 16.1-43.3 26.8-68.4 32.4-11.7 2.6-23.8 3.9-36.2 3.9-10.2 0-20.1-0.9-29.8-2.6-25-4.5-50.2-11.9-71.4-26-19.1-12.7-35.1-30.4-47.5-52.7-6.6 10.2-14.6 20.5-24.3 30.5-26.8 27.6-58.9 43.7-97.1 49.1-7.8 1.1-15.7 1.7-23.7 1.7-53.6 0-108.7-26.6-142.2-68.2-13.3-16.5-22-36.7-24.2-58.8l-0.6-11.1 0-27.6 82-225.1c5.4-14.7 18.8-25.2 34.6-27.6l6.9-0.5 674.6 0z" stroke="none" stroke-width="64"></path>` },
	{ name: 'arrow-down', html: `<path d="M838.544 310.544c14.059-14.059 36.853-14.059 50.912 0 13.918 13.918 14.057 36.398 0.417 50.487l-0.417 0.425-352 352c-13.917 13.918-36.397 14.057-50.486 0.417l-0.425-0.417-352-352c-14.06-14.059-14.06-36.853 0-50.912 13.917-13.918 36.397-14.057 50.486-0.417l0.425 0.417L512 637.088l326.544-326.544z"></path>` },
	{ name: 'home', html: `<path d="M582.4 83.2l320 204.8c38.4 25.6 57.6 64 57.6 108.8v441.6c0 70.4-57.6 128-128 128l-172.8 0c-38.4 0-64-25.6-64-64v-224c0-19.2-12.8-32-32-32l-108.8 0c-12.8 0-25.6 12.8-32 25.6l0 6.4v224c0 38.4-25.6 64-64 64l-172.8 0c-70.4 0-128-57.6-128-128v-441.6c0-44.8 19.2-83.2 57.6-108.8l320-204.8c51.2-25.6 102.4-25.6 147.2 0z m-44.8 64c-19.2-12.8-38.4-12.8-57.6 0l-320 204.8c-12.8 12.8-19.2 32-19.2 44.8v441.6c0 25.6 25.6 51.2 51.2 51.2l140.8 0c6.4 0 12.8-6.4 12.8-19.2v-204.8c0-51.2 44.8-96 96-96l96 0 38.4 0c51.2 0 96 44.8 96 96l0 204.8c0 6.4 6.4 12.8 12.8 12.8l6.4 0 140.8 0c25.6 0 44.8-19.2 51.2-44.8l0-6.4v-435.2c0-19.2-6.4-32-25.6-44.8l-320-204.8z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'spgl', html: `<path d="M832 64c70.4 0 128 57.6 128 128v640c0 70.4-57.6 128-128 128h-640c-70.4 0-128-57.6-128-128v-640c0-70.4 57.6-128 128-128h640z m57.6 326.4h-313.6v236.8c0 19.2-12.8 32-32 32-6.4 0-6.4 0-12.8 0l-96-44.8-96 44.8c-19.2 6.4-32 0-44.8-12.8 0-6.4 0-6.4 0-12.8v-243.2h-160l0 441.6c0 32 19.2 51.2 51.2 57.6l6.4 0h640c32 0 51.2-19.2 57.6-51.2l0-6.4v-441.6z m-384 0h-147.2v179.2l76.8-32 76.8 32v-179.2z m326.4-256h-640c-32 0-51.2 19.2-57.6 51.2l0 6.4 0 128h755.2v-128c0-32-19.2-51.2-51.2-57.6l-6.4 0z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'bhdgl', html: `<path d="M672 64c44.8 0 76.8 25.6 89.6 64l64 0c57.6 0 102.4 44.8 102.4 102.4 0 153.6 0 268.8 0 345.6 0 64 0 153.6 0 281.6 0 57.6-44.8 102.4-102.4 102.4h-627.2c-57.6 0-102.4-44.8-102.4-102.4 0-128 0-217.6 0-281.6 0-76.8 0-192 0-345.6 0-57.6 44.8-102.4 102.4-102.4l64 0c12.8-38.4 51.2-64 89.6-64h320z m-409.6 128l-64 0c-19.2 0-32 12.8-38.4 32l0 6.4v627.2c0 19.2 12.8 32 32 38.4l6.4 0h627.2c19.2 0 32-12.8 38.4-32l0-6.4v-627.2c0-19.2-12.8-32-32-38.4l-6.4 0-64 0c-12.8 38.4-51.2 64-89.6 64h-320c-44.8 0-76.8-25.6-89.6-64z m275.2 345.6c25.6 0 38.4 19.2 38.4 38.4 0 19.2-12.8 32-32 32l-6.4 0h-243.2c-25.6 6.4-38.4-12.8-38.4-32 0-19.2 12.8-32 32-32l6.4 0h243.2z m192-160c19.2 0 38.4 12.8 38.4 38.4 0 19.2-12.8 32-32 32l-6.4 0h-435.2c-25.6 6.4-38.4-12.8-38.4-32 0-19.2 12.8-32 32-32l6.4 0h435.2z m-57.6-243.2h-320c-12.8 0-25.6 12.8-25.6 25.6 0 12.8 6.4 25.6 19.2 25.6l6.4 0h320c12.8 0 25.6-12.8 25.6-25.6 0-12.8-6.4-25.6-25.6-25.6l0 0z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'kcgl', html: `<path d="M448 83.2c38.4-32 89.6-32 128 0l345.6 268.8c25.6 19.2 38.4 51.2 38.4 83.2v441.6c0 57.6-44.8 102.4-108.8 102.4h-678.4c-57.6 0-108.8-44.8-108.8-102.4v-441.6c0-32 12.8-64 38.4-83.2l345.6-268.8z m89.6 57.6c-12.8-12.8-32-12.8-44.8 0l-345.6 268.8c-6.4 6.4-12.8 12.8-12.8 25.6v441.6c0 19.2 12.8 38.4 38.4 38.4h691.2c19.2 0 38.4-12.8 38.4-38.4v-441.6c0-12.8-6.4-19.2-12.8-25.6l-352-268.8z m-249.6 326.4c0-38.4 32-70.4 70.4-70.4h128c38.4 0 70.4 32 70.4 70.4v121.6l121.6 0c32 0 64 25.6 64 57.6l0 6.4v128c0 38.4-32 70.4-70.4 70.4h-320c-38.4 0-70.4-32-70.4-70.4v-313.6z m192 192h-121.6v121.6h121.6v-121.6z m192 0h-121.6v121.6h121.6v-121.6z m-192-192h-121.6v121.6h121.6v-121.6z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'xsgl', html: `<path d="M560 480c35.3 0 64 28.7 64 64v352c0 35.3-28.7 64-64 64h-96c-35.3 0-64-28.7-64-64v-352c0-35.3 28.7-64 64-64h96z m304-128c35.3 0 64 28.7 64 64v480c0 35.3-28.7 64-64 64h-96c-35.3 0-64-28.7-64-64v-480c0-35.3 28.7-64 64-64h96z m-608 256c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64h-96c-35.3 0-64-28.7-64-64v-224c0-35.3 28.7-64 64-64h96z m297.6-57.6h-83.2v339.2h83.2v-339.2z m304-128h-83.2v467.2h83.2v-467.2z m-608 256h-83.2v211.2h83.2v-211.2z m470.4-631.7l6 2.2 173.9 81.1c1.9 0.8 3.6 1.9 5.4 3.1l-5.4-3.1c8.5 4 15 11.1 18.2 19.9l0.6 1.7c0.3 0.7 0.5 1.5 0.7 2.2l-1.3-3.9c3.9 10.8 2.3 22.8-4.2 32.2l3-5.3c-3.1 6.7-8.2 12.2-14.6 15.8l-1.4 0.7c-0.7 0.4-1.4 0.8-2.1 1.1l-1.7 0.6-751.8 273.6c-18.3 6.5-38.4-3.1-44.9-21.4-5.7-16 0.9-33.8 15.6-42.3l5.3-2.4 671.9-244.6-97-45.2c-17.5-8.4-24.9-29.4-16.5-47 7.2-15 24-22.9 40.2-18.9l0.1-0.1z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'jggl', html: `<path d="M838.4 64c51.2 0 89.6 38.4 96 89.6l0 6.4v288c0 19.2-19.2 38.4-38.4 38.4-19.2 0-32-12.8-38.4-32l0-6.4v-288c0-6.4-6.4-19.2-12.8-19.2l-6.4 0h-672c-12.8 0-19.2 6.4-19.2 12.8l0 6.4v704c0 6.4 6.4 19.2 12.8 19.2l6.4 0h230.4c19.2 0 38.4 19.2 38.4 38.4 0 19.2-12.8 32-32 38.4l-6.4 0h-230.4c-51.2 0-89.6-38.4-96-89.6l0-6.4v-704c0-51.2 38.4-89.6 89.6-96l6.4 0h672z m108.8 582.4c12.8 12.8 12.8 32 6.4 44.8l-198.4 236.8c-12.8 19.2-44.8 19.2-64 6.4l-6.4-6.4c0 0-6.4-6.4-6.4-6.4l-108.8-128c-6.4-12.8-6.4-25.6 0-38.4 12.8-12.8 32-12.8 38.4 0l96 83.2 192-192c19.2-6.4 38.4-12.8 51.2 0z m-313.6-358.4c12.8 12.8 19.2 32 6.4 51.2l-51.2 51.2 38.4 0c19.2 0 38.4 12.8 38.4 38.4s-12.8 32-38.4 32l-89.6 0v57.6l89.6 0c19.2 0 38.4 12.8 38.4 32 0 19.2-12.8 38.4-38.4 38.4l-89.6 0v89.6c0 19.2-12.8 32-32 32-19.2 0-32-12.8-32-32v-89.6l-89.6 0c-25.6 0-38.4-12.8-38.4-32 0-19.2 12.8-32 38.4-32l89.6 0v-64l-89.6 0c-25.6 0-38.4-12.8-38.4-32s12.8-38.4 38.4-38.4l38.4 0-44.8-51.2c-12.8-12.8-12.8-38.4 0-51.2 12.8-12.8 38.4-12.8 51.2 6.4l76.8 89.6 76.8-89.6c12.8-12.8 32-19.2 51.2-6.4z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'jsgl', html: `<path d="M889.6 128c57.6 0 102.4 44.8 102.4 102.4v563.2c0 57.6-44.8 102.4-102.4 102.4h-755.2c-57.6 0-102.4-44.8-102.4-102.4v-563.2c0-57.6 44.8-102.4 102.4-102.4h755.2z m32 256h-819.2l0 409.6c0 12.8 12.8 25.6 25.6 32l6.4 0h755.2c12.8 0 25.6-12.8 32-25.6l0-6.4v-409.6z m-153.6 249.6c19.2 0 38.4 12.8 38.4 38.4 0 19.2-12.8 32-32 32l-6.4 0h-256c-19.2 0-38.4-12.8-38.4-38.4 0-19.2 12.8-32 32-32l6.4 0h256z m121.6-435.2h-755.2c-12.8 0-25.6 12.8-32 25.6l0 6.4 0 83.2h819.2v-83.2c0-12.8-12.8-25.6-32-32l0 0z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'zlgl', html: `<path d="M496.8 67.1c9.8-4.2 21-4.2 30.8 0l345.4 147c14 5.9 23 19.4 23 34.2l0 339c0 163.6-141.7 296.2-371.8 370.8-7.9 2.6-16.4 2.6-24.3 0-229.7-74.4-371.9-207.6-371.9-370.9l0-338.9c0-14.8 9-28.3 23-34.2z m15.4 75l-307.4 130.7 0 314.4c0 121.8 112.3 229.8 306.1 295.6l1.1 0.4 14.7-5.1c181.4-64.7 287.5-166.7 292.3-282.5l0.2-8.3 0-314.5-307-130.7z m217.2 229.9c15.2 13 17.4 35.3 4.9 50.9l-3.2 3.5-216.8 210.8c-20.9 20.3-54.2 22-77.1 3.9l-4.3-3.9-101.6-98.8c-14.3-13.9-15-36.3-1.7-51.1 13.4-14.8 36.3-16.9 52.3-4.8l3.6 3.1 88.1 85.6 203.3-197.6c14.3-13.9 37.3-14.6 52.5-1.6z" stroke-width="64" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'xtgl', html: `<path d="M672 44.8l172.8 25.6c32 6.4 51.2 32 51.2 64v403.2c0 147.2-70.4 281.6-192 358.4l-153.6 102.4c-19.2 12.8-51.2 12.8-70.4 0l-160-102.4c-121.6-76.8-192-217.6-192-358.4v-403.2c0-32 25.6-57.6 51.2-64l172.8-25.6c108.8-19.2 211.2-19.2 320 0z m-307.2 70.4l-166.4 25.6v396.8c0 115.2 57.6 224 147.2 294.4l12.8 6.4 153.6 102.4 153.6-102.4c96-64 153.6-172.8 160-281.6l0-12.8v-403.2l-166.4-25.6c-96-19.2-198.4-19.2-294.4 0z m147.2 76.8c64 0 115.2 44.8 128 108.8s-32 121.6-89.6 140.8l0 134.4h64c12.8 0 25.6 12.8 25.6 32 0 19.2-12.8 32-32 32h-64v89.6c0 25.6-12.8 38.4-32 38.4-19.2 0-38.4-12.8-38.4-32v-294.4c-57.6-19.2-96-76.8-89.6-140.8s64-108.8 128-108.8l0 0z m0 70.4c-32 0-57.6 25.6-57.6 57.6s25.6 57.6 57.6 57.6 57.6-25.6 57.6-57.6-25.6-57.6-57.6-57.6l0 0z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'fwsc', html: `<path d="M512 64c249.6 0 448 198.4 448 448s-198.4 448-448 448-448-198.4-448-448 198.4-448 448-448z m0 70.4c-211.2 0-377.6 166.4-377.6 377.6s166.4 377.6 377.6 377.6 377.6-166.4 377.6-377.6-166.4-377.6-377.6-377.6z m-32 108.8c12.8-25.6 51.2-25.6 64 0l64 134.4 147.2 19.2c25.6 6.4 38.4 32 25.6 57.6l-6.4 6.4-108.8 108.8 25.6 147.2c6.4 25.6-19.2 44.8-44.8 38.4l-6.4 0-128-76.8-134.4 70.4c-25.6 12.8-51.2-6.4-51.2-32l0-6.4 25.6-147.2-108.8-102.4c-19.2-19.2-12.8-51.2 12.8-64l6.4 0 147.2-19.2 70.4-134.4z m32 89.6l-44.8 89.6c-6.4 12.8-12.8 19.2-25.6 19.2l-96 12.8 70.4 70.4c6.4 6.4 12.8 12.8 12.8 25.6l0 6.4-19.2 96 89.6-44.8c6.4-6.4 19.2-6.4 25.6 0l6.4 0 89.6 44.8-19.2-96c0-6.4 0-19.2 6.4-25.6l6.4-6.4 70.4-70.4-102.4-12.8c-6.4 0-19.2-6.4-25.6-12.8l0-6.4-44.8-89.6z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'dpyx', html: `<path d="M926 150.9l65.5 244.5c11.2 41.8 5.3 86.4-16.3 123.9l-251.7 435.8c-9.7 16.8-31.2 22.6-48 12.9-16.8-9.7-22.6-31.2-12.9-48.1l251.6-435.8c12.3-21.3 15.6-46.6 9.3-70.5l-65.5-244.5c-5-18.8 6.1-38.1 24.9-43.1 18.8-5 38.1 6.1 43.1 24.9z m-177.9-15.6l76.5 234.1c10.3 31.4 6 67.3-11.5 97.6l-249.6 432.4c-32.1 55.6-98.7 77.2-148.8 48.2l-317.4-183.3c-50.1-28.9-64.7-97.4-32.6-152.9l249.6-432.4c17.5-30.4 46.5-52 78.8-58.7l240.9-50.8c50.5-10.6 98.1 16.8 114.1 65.8z m-106.9-4.2l-236.5 53.3c-14.3 3.2-27.1 13-35 26.7l-249.6 432.2c-14.4 25-8.4 55.5 13.6 68.1l308.6 178.2c21.9 12.7 51.4 2.6 65.8-22.3l249.6-432.2c7.9-13.7 9.9-29.7 5.5-43.7l-72.1-231.5c-6.8-21.8-27.6-33.8-49.9-28.8z m-81.2 60.9c61.9 0 112 50.1 112 112 0 61.9-50.1 112-112 112-61.9 0-112-50.1-112-112 0-61.9 50.1-112 112-112z m0 70.4c-23 0-41.6 18.6-41.6 41.6 0 23 18.6 41.6 41.6 41.6 23 0 41.6-18.6 41.6-41.6 0-23-18.6-41.6-41.6-41.6z" stroke-width="64" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'dpgl', html: `<path d="M787.2 57.6c38.4 0 70.4 19.2 89.6 57.6l0 12.8 64 185.6c6.4 12.8 6.4 32 6.4 44.8 0 44.8-19.2 83.2-51.2 115.2l0 377.6c0 57.6-44.8 102.4-96 102.4l-6.4 0h-563.2c-57.6 0-102.4-44.8-102.4-96l0-6.4 0-377.6c-44.8-32-64-89.6-51.2-147.2l0-12.8 64-185.6c12.8-38.4 44.8-64 89.6-64l6.4 0h550.4z m-134.4 390.4l0 0c-32 38.4-76.8 64-128 64l-12.8 6.4c-6.4 0-12.8 0-12.8 0-51.2-6.4-96-32-128-64l0-6.4-6.4 6.4c-32 32-76.8 57.6-128 57.6l-12.8 0c-12.8 6.4-19.2 0-32 0l0 345.6c0 19.2 12.8 32 32 32l6.4 0h563.2c19.2 0 32-12.8 32-32l0-6.4 6.4-339.2c-6.4 0-19.2 0-32 0-57.6 6.4-108.8-19.2-147.2-64l0 0z m44.8 211.2c6.4 19.2 0 38.4-19.2 44.8-51.2 25.6-108.8 32-166.4 32-57.6 0-115.2-12.8-166.4-32-19.2-6.4-25.6-25.6-19.2-44.8 6.4-19.2 25.6-25.6 44.8-19.2 44.8 19.2 89.6 32 140.8 32 51.2 0 96-12.8 140.8-32 19.2-6.4 38.4 0 44.8 19.2z m-454.4-531.2l0 0c-19.2 0-25.6 6.4-32 19.2l-64 185.6 0 6.4c-12.8 44.8 12.8 89.6 51.2 102.4 6.4 0 19.2 6.4 25.6 6.4 51.2 0 96-32 115.2-76.8 12.8-32 57.6-32 64 0 12.8 44.8 51.2 70.4 96 76.8 0 0 6.4 0 6.4 0 51.2 0 89.6-32 108.8-76.8 12.8-32 51.2-32 64 0 19.2 44.8 64 76.8 115.2 76.8 44.8 0 83.2-38.4 83.2-83.2 0-6.4 0-19.2-6.4-25.6l-64-185.6 0-6.4c0-6.4-6.4-19.2-19.2-19.2l-544 0z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'sjzx', html: `<path d="M832 57.6c76.8 0 134.4 57.6 134.4 134.4v640c0 76.8-57.6 134.4-134.4 134.4h-640c-76.8 0-134.4-57.6-134.4-134.4v-640c0-76.8 57.6-134.4 134.4-134.4h640z m0 70.4h-640c-38.4 0-64 25.6-64 64v640c0 38.4 25.6 64 64 64h640c38.4 0 64-25.6 64-64v-153.6h-768v-64h768v-204.8h-768v-70.4h768v-147.2c0-38.4-25.6-64-64-64z m-499.2 614.4c25.6 0 51.2 19.2 51.2 51.2 0 25.6-19.2 51.2-51.2 51.2h-89.6c-25.6 0-51.2-19.2-51.2-51.2 0-25.6 19.2-51.2 51.2-51.2h89.6z m0-275.2c32 0 51.2 19.2 51.2 51.2 0 25.6-19.2 51.2-51.2 51.2h-89.6c-32-6.4-51.2-25.6-51.2-51.2 0-25.6 19.2-51.2 51.2-51.2h89.6z m0-275.2c32 0 51.2 19.2 51.2 51.2s-19.2 44.8-51.2 44.8h-89.6c-32 0-51.2-19.2-51.2-44.8s19.2-51.2 51.2-51.2h89.6z" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'hgzx', html: `<path d="M839.7 493.5l87.9 12.5c16.3 3.1 26 15.7 26 31.5l0 197.9c0 72.3-35.8 138.3-97.6 176l-78.1 50.3c-9.8 6.3-26 6.3-35.8 0l-81.3-50.3c-61.8-37.7-97.6-106.8-97.6-176l0-197.9c0-15.7 13-28.3 26-31.5l87.9-12.5c55.3-9.4 107.4-9.4 162.6 0z m-14.1-429.5c56.6 0 102.4 45.8 102.4 102.4l0 243.2c0 21.2-17.2 38.4-38.4 38.4-21.2 0-38.4-17.2-38.4-38.4l0-243.2c0-12.4-8.8-22.7-20.4-25.1l-5.2-0.5-627.2 0c-12.4 0-22.7 8.8-25.1 20.4l-0.5 5.2 0 691.2c0 12.4 8.8 22.7 20.4 25.1l5.2 0.5 275.2 0c21.2 0 38.4 17.2 38.4 38.4 0 21.2-17.2 38.4-38.4 38.4l-275.2 0c-56.6 0-102.4-45.8-102.4-102.4l0-691.2c0-56.6 45.8-102.4 102.4-102.4l627.2 0z m-118 494l-58.6 8.7c-8.7 2.2-17.4 10.9-17.3 21.8l0 137.5c0 48 23.9 96 65.1 122.2l54.2 34.9c6.5 4.4 17.4 4.4 23.8 0l52.1-34.9c41.2-26.2 65.1-72 65.1-122.2l0-137.5c0-10.9-6.5-19.6-17.4-21.8l-58.6-8.7c-36.9-6.5-71.6-6.5-108.4 0z m54 61.7c38.9 0 70.4 30.7 70.3 68.5 0 37.8-31.5 68.5-70.3 68.5-38.9 0-70.4-30.7-70.4-68.5 0-37.8 31.5-68.5 70.4-68.5z m-281.6-178.1c21.2 0 38.4 17.2 38.4 38.4 0 19.1-13.9 34.9-32.2 37.9l-6.2 0.5-192 0c-21.2 0-38.4-17.2-38.4-38.4 0-19.1 13.9-34.9 32.2-37.9l6.2-0.5 192 0z m256-160c21.2 0 38.4 17.2 38.4 38.4 0 19.1-13.9 34.9-32.2 37.9l-6.2 0.5-448 0c-21.2 0-38.4-17.2-38.4-38.4 0-19.1 13.9-34.9 32.2-37.9l6.2-0.5 448 0z" stroke-width="64" transform="matrix(1,0,0,1,0,0)"></path>` },
	{ name: 'down', html: `<path d="M470.016 976.896q-44.032 0-59.392-20.48t-15.36-65.536q0-20.48-0.512-64.512t-1.024-93.696-1.536-96.768-1.024-74.752q0-39.936-7.68-62.464t-35.328-21.504q-20.48 0-48.64-1.024t-49.664 0q-35.84 0-45.568-19.456t13.824-50.176q24.576-30.72 57.344-72.704t67.584-86.016 68.096-87.04 58.88-75.776q23.552-29.696 45.568-30.72t46.592 26.624q24.576 29.696 56.832 69.632t67.072 82.432 68.608 83.968 60.416 73.216q29.696 35.84 23.04 58.88t-43.52 23.04q-11.264 0-25.088 0.512t-29.184 1.024-30.208 1.024-27.136 0.512q-25.6 1.024-32.256 16.384t-5.632 41.984q0 29.696 0.512 77.824t1.024 100.352 1.536 101.376 1.024 79.872q0 13.312-2.048 27.648t-9.728 26.112-21.504 19.968-36.352 8.192q-27.648 0-52.736 0.512t-56.832 1.536z" p-id="5903"></path>` },
]
Vue.component('svg-list', {
	template: ` 
<svg style="position: absolute; width: 0; height: 0" aria-hidden="true">
	<symbol v-for="(item, index) in list" :key="index" viewBox="0 0 1024 1024" :id="'icon-'+item.name" v-html="item.html"></symbol>
</svg>
	 `,
	data() {
		return {
			list: svgList
		}
	}
})

Vue.component('svg-icon', {
	template: `
<div class="svg-icon">
	<svg v-bind="$attrs">
	    <use :xlink:href="'#icon-'+name"></use>
	</svg>
</div> 
	 `,
	props: {
		name: {
			type: String,
			default: ''
		}
	},
	mounted() {
		// console.log(this.$attrs);
	}
})

Vue.component('m-tip', {
	template: `
<div class="m-tip">
	<i class="icon el-icon-warning"></i>
	<slot></slot>
</div>
	`,
	props: {
		name: {
			type: String,
			default: ''
		}
	},
	mounted() {
		// console.log(this.$attrs);
	}
})


Vue.component('m-search', {
	template: `
<div class="m-search">
	<el-form ref="formRef" :model="model" size="mini" :label-width="labelWidth">
		<el-row :gutter="10">
			<slot></slot>
			<slot v-if="!hide" name="hide"></slot>
			<el-col :span="handleSpan">
				<div class="flex pl-40">
					<el-button size="mini" @click="() => formRef.resetFields()">重置</el-button>
					<el-button size="mini" type="primary" @click="search()">查询</el-button>
					<div class="flex items-center ml-10 text-12 cursor-pointer" @click="hide = !hide">
						<template v-if="hide">
							<span class="mr-5">展开</span>
							<i class="el-icon-arrow-down"></i>
						</template>
						<template v-else>
							<span class="mr-5">收起</span>
							<i class="el-icon-arrow-up"></i>
						</template>
					</div>
				</div>
			</el-col>
		</el-row>
	</el-form>
</div>
	`,
	props: {
		model: {
			type: Object,
			default() {
				return {}
			}
		},
		labelWidth: {
			type: String,
			default: '100px'
		},
		handleSpan: {
			type: Number,
			default: 6
		}
	},
	data() {
		return {
			hide: true
		}
	},
	mounted() {
		console.log(this.$slots);
	}
})

Vue.component('m-title1', {
	template: ` 
<div class="m-title1">
	<div class="left">{{name}}</div>
	<slot name="extra"></slot>
</div>
	 `,
	props: {
		name: {
			type: String,
			default: ''
		}
	}
})

Vue.component('m-radio-group', {
	template: ` 
<div class="m-radio-group">
	<div v-for="(item, index) in list" :key="index" 
		class="item"
		:class="{active: item.value == value}"
		@click="changeChoice(item)">{{item.label}}</div>
</div>
	 `,
	model: {
		prop: 'value',
		event: 'change'
	},
	props: {
		value: {
			type: [String, Number],
			default: ''
		},
		options: {
			type: Array,
			default() {
				return []
			}
		}
	},
	computed: {
		list() {
			return this.options.map(item => {
				return typeof item == 'object' ? item : {
					label: item,
					value: item
				}
			})
		}
	},
	methods: {
		changeChoice(row) {
			this.$emit('change', row.value);
		}
	}
})

Vue.component('m-empty', {
	template: `
<div class="m-empty" :style="{background: background}">
	<img src="./static/image/img20.png"/>
	<span>{{text}}</span>
</div>
  `,
	props: {
		text: {
			type: String,
			default: '暂无数据'
		},
		background: {
			type: String,
			default: ''
		}
	}
})

Vue.component('m-tabs', {
	template: ` 
<div class="m-tabs" :class="['type'+type]">
	<div v-for="(item, index) in list" :key="index" 
		class="item"
		:class="{active: item.value == value}"
		@click="changeChoice(item)">{{item.label}}</div>
</div>
	 `,
	model: {
		prop: 'value',
		event: 'change'
	},
	props: {
		value: {
			type: [String, Number],
			default: ''
		},
		options: {
			type: Array,
			default() {
				return []
			}
		},
		type: {
			type: String,
			default: '1'
		}
	},
	computed: {
		list() {
			return this.options.map(item => {
				return typeof item == 'object' ? item : {
					label: item,
					value: item
				}
			})
		}
	},
	methods: {
		changeChoice(row) {
			this.$emit('change', row.value);
		}
	}
})

Vue.component('m-charts', {
	template: ` 
<div ref="mChartRef" class="m-chart-wp" :style="{height: height}">
	<div class="m-chart" ref="chartRef"></div>
</div>
	`,
	props: {
		height: {
			type: String,
			default: '100%'
		},
		options: {
			type: Object
		},
		on: {
			type: [Object, null],
			default: () => (null)
		},
		wait: {
			type: Number,
			default: 0
		}
	},
	data() {
		return {
			timer: null,
			myChart: null,
		}
	},
	watch: {
		options: {
			handler: function (val, oldVal) {
				this.initChart();
			},
			deep: true
		}
	},
	mounted() {
		if (!this.wait) {
			this.initChart();
		} else {
			setTimeout(() => {
				this.initChart();
			}, this.wait);
		}
	},
	beforeDestroy() {
		clearTimeout(this.timer);
	},
	methods: {
		initChart() {
			if (!this.options) {
				return;
			}
			if (!this.myChart && this.$refs.chartRef) {
				this.myChart = echarts.init(this.$refs.chartRef);
				if (this.on) {
					for (let key in this.on) {
						this.myChart.on(key, this.on[key]);
					}
				}
				// 监听尺寸变化
				window.addEventListener('resize', this.debResize);
			}
			if (this.myChart) {
				this.myChart.setOption(this.options, true);
			}
		},

		debResize() {
			clearTimeout(this.timer);
			this.timer = setTimeout(() => {
				this.myChart.resize();
			}, 100);
		}
	}
})


Vue.component('goods-info', {
	template: `
<div class="goods-info">
	<img :src="data.image"/>
	<div class="right">
		<div class="name">{{data.name}}</div>
		<div class="txt1">{{data.size}}</div>
		<div class="txt1">☆暂无评分</div>
		<div class="txt1">SKU：{{data.SKU}}</div>
		<div class="txt1">SPU：{{data.SPU}}</div>
		<div class="txt1">SKC货号：{{data.SKCNO}}</div>
		<div class="txt1">加入站点时长：{{data.day}}天</div>
	</div>
</div>
	 `,
	props: {
		data: {
			type: Object,
			default() {
				return {}
			}
		}
	}
})

Vue.component('goods-info2', {
	template: `
<div class="goods-info2">
	<img :src="data.mainImageUrl"/>
	<div class="right">
		<div class="name">{{data.productName}}</div>
		<div class="row">
			<div class="label">类目：</div>
			<div class="value">{{data.leafCat.catName}}</div>
		</div>
		<div class="row">
			<div class="label">商品SPU ID：</div>
			<div class="value">{{data.productId}}</div>
		</div>
		<div class="row">
			<div class="label">商品SKC ID：</div>
			<div class="value">{{data.productSkcId}}</div>
		</div>
		<div class="row">
			<div class="label">货号：</div>
			<div class="value" style="color:rgba(0,0,0,.4);">{{data.extCode}}</div>
		</div>
	</div>
</div>
	 `,
	props: {
		data: {
			type: Object,
			default() {
				return {}
			}
		}
	}
})

Vue.component('goods-info3', {
	template: `
<div class="goods-info3">
	<img :src="data.productSkcPicture"/>
	<div class="right">
		<div class="name">{{data.productName}}</div>
		<div class="row">
			<div>{{data.category}}</div>
		</div>
		<div class="row">
			<div class="flex items-center">
				<img style="width:12px;height:12px;margin-right:2px;" src="./static/image/wx.png"/>
				<span>暂无评分</span>
			</div>
		</div>
		<div class="row">
			<div class="label">SKC：</div>
			<div class="value">{{data.productSkcId}}</div>
		</div>
		<div class="row">
			<div class="label">SPU：</div>
			<div class="value">{{data.productId}}</div>
		</div>
		<div class="row">
			<div class="label">SKC货号：</div>
			<div class="value">{{data.skcExtCode}}</div>
		</div>
		<div class="row">
			<div class="label">加入站点时长：</div>
			<div class="value">-天</div>
		</div>
		<div>
			<div class="tab-text">国内备货</div>
			<div class="tab-text">多仓组备货<span>&nbsp;</span></div>
		</div>
	</div>
</div>
	 `,
	props: {
		data: {
			type: Object,
			default() {
				return {}
			}
		}
	}
})

Vue.component('goods-attribute', {
	template: `
<div>
	<div v-for="i in 3" :key="i">
		{{data.productProperties[i-1].propName}}：{{data.productProperties[i-1].propValue}}{{data.productProperties[i-1].numberInputValue}}{{data.productProperties[i-1].valueUnit}}
		<template v-if="i == 3">...</template>
	</div>
	<div>
		<el-link class="text-12 blue-btn" :underline="false">全部</el-link>
	</div>
</div>
	 `,
	props: {
		data: {
			type: Object,
			default() {
				return {}
			}
		}
	}
})


Vue.component('num-type1', {
	template: `
<div :style="{display: 'inline-block', color: type == 1 ? '#F71010' : type == 2 ? '#00BB12' : ''}" :type="type">
	<template v-if="data != 0">
		<svg-icon v-if="typeof data == 'number'" name="down" :style="{transform: type == 1 ? 'rotate(0)' : 'rotate(180deg)'}"></svg-icon>{{data}}%
	</template>
	<template v-else>-</template>
</div>
	 `,
	props: {
		data: {
			type: [String, Number],
			default: ''
		},
		// 1红色上，2绿色下
		type: {
			type: [String, Number],
		}
	}
})

Vue.component('expressive-outcomes', {
	template: `
<div class="expressive-outcomes">
	<div class="content">
		<div class="b-left" style="padding-left:74px;">
	    <div class="text-16 color-gray-800 font-semibold leading-none">{{data.t1}}</div>
	    <div class="text-12 color-gray-600 font-normal" style="margin-top:3px;">{{data.t2}}</div>
	  </div>
	  <div class="b-middle">
	  	<div class="list">
	  		<div v-for="(item, index) in list" :key="index" class="item">
	  			<div class="ct">
	  				<div class="show"
	  					:class="{current: current==index}"
		  				:style="{
		  					width: item.bfb+'%',
		  					background: item.color
		  				}"></div>
		  			<div v-if="current==index" class="num" :style="{left: item.bfb+'%'}"><span>{{data.value}}%</span></div>
	  			</div>
	  			<span class="text" :style="{
	  				color: current==index ? item.color : ''
	  			}">{{item.name}}</span>
	  		</div>
	  	</div>
	  </div>
	  <div class="result-name" :style="{color: colors[current]}">{{list[current].name}}</div>
	  <div class="tips">
	  	<div v-if="current == 0"><span>您距离下一档位</span><span class="t1" style="color:#FB7701;">一般</span><span>还差</span><span class="t2">{{60-data.value}}%</span><span>情况不太妙，要重视起来了！</span></div>
	  	<div v-if="current == 1"><span>您距离下一档位</span><span class="t1" style="color:#FB7701;">良好</span><span>还差</span><span class="t2">{{80-data.value}}%</span><span>继续加油！</span></div>
	  	<div v-if="current == 2"><span>您距离下一档位</span><span class="t1" style="color:#67C23A;">优秀</span><span>还差</span><span class="t2">{{90-data.value}}%</span><span>继续保持！</span></div>
	  	<div v-if="current == 3"><span>售罄指标表现超越了大部分同行，请一直优秀下去！</span></div>
	  </div>
	</div>
</div>
	 `,
	props: {
		data: {
			type: Object,
			default: function () {
				return {
					t1: '',
					t2: '',
					value: 0
				}
			}
		}
	},
	data() {
		return {
			colors: ['#ED1414', '#FB7701', '#FB7701', '#67C23A'],
			current: 0,
			list: [
				{ name: '较差', color: '', value: 60, bfb: 0, },
				{ name: '一般', color: '', value: 80, bfb: 0, },
				{ name: '良好', color: '', value: 90, bfb: 0, },
				{ name: '优秀', color: '', value: 100, bfb: 0, },
			]
		}
	},
	mounted() {
		let value = this.data.value;
		if (value < 0)
			value = 0;
		if (value > 100)
			value = 100;
		let bfb = 0;
		let idx = 0;
		if (value <= 60) {
			idx = 0;
			bfb = 100 * value / 60;
		} else if (value <= 80) {
			idx = 1;
			bfb = 100 * (value - 60) / 20;
		} else if (value <= 90) {
			idx = 2;
			bfb = 100 * (value - 80) / 10;
		} else if (value <= 100) {
			idx = 3;
			bfb = 100 * (value - 90) / 10;
		}
		let color = this.colors[idx];
		for (let i = 0; i <= idx; i++) {
			this.list[i].color = color;
			if (i == idx) {
				this.list[i].bfb = bfb;
			} else {
				this.list[i].bfb = 100;
			}
		}
		this.current = idx;
	}
})

Vue.component('m-alert', {
	template: `
<div class="m-alert">
	<div class="type-icon">
		<svg class="theme-arco-icon theme-arco-icon-Warning " width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" elementtiming="element-timing"><path d="M.427 13.254L7.566.76a.5.5 0 01.868 0l7.139 12.494a.5.5 0 01-.434.748H.862a.5.5 0 01-.435-.748z" fill="#E19F0B" elementtiming="element-timing"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8.76 5.354H7.24l.123 4h1.24l.157-4zM8 12.002a.846.846 0 100-1.693.846.846 0 000 1.693z" fill="#fff" elementtiming="element-timing"></path></svg>
	</div>
	<div class="content">
		<slot></slot>
	</div>
	<i class="close-btn el-icon-close"></i>
</div>	
	`,
	props: {
		type: {
			type: String,
			default: 'warning'
		}
	}
})



